import React from 'react';
import { View } from '@tarojs/components';
import { backgroundObj } from '@/utils/utils'
import './index.scss';
export default (props) => {
  const { imgObj = {}, label, desc } = props;
  console.log(props, 1111)
  const { src } = imgObj;
  return (
    <View style={backgroundObj(src)} className="cephalogram_img">
      <View className="cephalogram_label">{label}</View>
      <View className="cephalogram_desc">{desc}</View>

    </View>
  );
};
